import request from '@/utils/request'

/**
* 班次管理分页查询
* @param {查询条件} data
*/
export function listCksBasShift(query) {
  return request({
    url: 'business/CksBasShift/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增班次管理
* @param data
*/
export function addCksBasShift(data) {
  return request({
    url: 'business/CksBasShift',
    method: 'post',
    data: data,
  })
}
/**
* 修改班次管理
* @param data
*/
export function updateCksBasShift(data) {
  return request({
    url: 'business/CksBasShift',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取班次管理详情
* @param {Id}
*/
export function getCksBasShift(id) {
  return request({
    url: 'business/CksBasShift/' + id,
    method: 'get'
  })
}

/**
* 删除班次管理
* @param {主键} pid
*/
export function delCksBasShift(pid) {
  return request({
    url: 'business/CksBasShift/delete/' + pid,
    method: 'delete'
  })
}
